package com.fqgj.xjd.user.dao.impl;

import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.xjd.user.dao.UserOcrAadhaarBackDao;
import com.fqgj.xjd.user.entity.UserOcrAadhaarBackEntity;
import org.springframework.stereotype.Repository;

/**
 * User: zsp
 * Date: 2018-10-08
 * Time: 17:26:42.067
 */

@Repository
public class UserOcrAadhaarBackDaoImpl extends AbstractBaseMapper<UserOcrAadhaarBackEntity> implements UserOcrAadhaarBackDao {
    /**
     * 删除
     *
     * @param userCode
     * @return
     */
    @Override
    public int deleteByUserCode(String userCode) {
        return getSqlSession().update(getStatement("deleteByUserCode"), userCode);
    }
}